package com.book_management.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author xiangqian
 * @date 2022/12/1 16:36
 * @description:
 */
@TableName("c_book")
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "书籍表", description = "书籍记录表")
public class CBook implements Serializable {

    @ApiModelProperty("书籍id")
    private Long id;

    @ApiModelProperty("类别编号")
    private String typeId;

    @ApiModelProperty("类别名称")
    private String typeName;

    @ApiModelProperty("书籍名称")
    private String bookName;

    @ApiModelProperty("作者")
    private String author;

    @ApiModelProperty("出版日期")
    private Date publicationDate;

    @ApiModelProperty("封面地址")
    private String cover;

    @ApiModelProperty("简介")
    private String bookBrief;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("最后更新时间")
    private Date finalTime;

    @ApiModelProperty("删除时间")
    private Date deleteTime;
}
